home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Fmidipipe(2) Oct. 1, 1991 Fmidipipe(2)
-
-
- N✓NA✓AM✓ME✓E
- Fmidipipe - redirect MIDI input and output
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- LONG Fmidipipe( WORD pid, WORD in, WORD out);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- _✓F_✓m_✓i_✓d_✓i_✓p_✓i_✓p_✓e changes the MIDI input and output file handles
- (GEMDOS file handles -4 and -5 respectively) for process
- _✓p_✓i_✓d_✓. _✓i_✓n is the GEMDOS handle (for the calling process)
- which will become the MIDI input for the receiving pro-
- cess, and _✓o_✓u_✓t is the GEMDOS handle which is to become the
- MIDI output.
-
- If _✓p_✓i_✓d is 0, then the call affects the current process; in
- this case, it is roughly equivalent to the sequence
- Fforce(-4, in);
- Fforce(-5, out);
-
- R✓RE✓ET✓TU✓UR✓RN✓NS✓S
- 0 on success
-
- EFILNF if the indicated process is not found
-
- EIHNDL if either _✓i_✓n or _✓o_✓u_✓t is not a valid open handle.
-
- EACCDN if _✓i_✓n is not open for reading or if _✓o_✓u_✓t is not open
- for writing.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- _✓F_✓d_✓u_✓p(2), _✓F_✓f_✓o_✓r_✓c_✓e(2)
-
- B✓BU✓UG✓GS✓S
- Any user can change the MIDI input and output of any pro-
- cess. This will eventually be corrected.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Version 0.9 MiNT Programmer's Manual 1
-
-
-